package com.kgc.server.pojo;


import org.apache.solr.client.solrj.beans.Field;

import java.math.BigDecimal;

public class EasybuyProduct {

  @Field("id")
  private String id;
  @Field("name_ik")
  private String name;
  @Field("description_ik")
  private String description;
  @Field("price_d")
  private Double price;
  @Field("stock_i")
  private Integer stock;
  @Field("categoryLevel1Id_i")
  private Integer categoryLevel1Id;
  @Field("categoryLevel2Id_i")
  private Integer categoryLevel2Id;
  @Field("categoryLevel3Id_i")
  private Integer categoryLevel3Id;
  @Field("fileName_ik")
  private String fileName;
  @Field("isDelete_i")
  private Integer isDelete;

  @Override
  public String toString() {
    return "Product{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", description='" + description + '\'' +
            ", price=" + price +
            ", stock=" + stock +
            ", categoryLevel1Id=" + categoryLevel1Id +
            ", categoryLevel2Id=" + categoryLevel2Id +
            ", categoryLevel3Id=" + categoryLevel3Id +
            ", fileName='" + fileName + '\'' +
            ", isDelete=" + isDelete +
            '}';
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public Double getPrice() {
    return price;
  }

  public void setPrice(Double price) {
    this.price = price;
  }

  public Integer getStock() {
    return stock;
  }

  public void setStock(Integer stock) {
    this.stock = stock;
  }

  public Integer getCategoryLevel1Id() {
    return categoryLevel1Id;
  }

  public void setCategoryLevel1Id(Integer categoryLevel1Id) {
    this.categoryLevel1Id = categoryLevel1Id;
  }

  public Integer getCategoryLevel2Id() {
    return categoryLevel2Id;
  }

  public void setCategoryLevel2Id(Integer categoryLevel2Id) {
    this.categoryLevel2Id = categoryLevel2Id;
  }

  public Integer getCategoryLevel3Id() {
    return categoryLevel3Id;
  }

  public void setCategoryLevel3Id(Integer categoryLevel3Id) {
    this.categoryLevel3Id = categoryLevel3Id;
  }

  public String getFileName() {
    return fileName;
  }

  public void setFileName(String fileName) {
    this.fileName = fileName;
  }

  public Integer getIsDelete() {
    return isDelete;
  }

  public void setIsDelete(Integer isDelete) {
    this.isDelete = isDelete;
  }
}
